package com.design.single;

/**
 * @author leal
 * @title: EagerSingleton
 * @projectName DesignMode
 * @description: 第一章单例模式
 * @date 2021/7/21 21:00
 */
public class EagerSingleton {
    private static final EagerSingleton instance = new EagerSingleton();

    public static EagerSingleton getInstance() {
        return instance;
    }
}
